<?php

namespace app\admin\model;

use app\common\model\TimeModel;
use app\admin\model\SystemDictionaryOption;

class SystemDictionary extends TimeModel
{

    protected function getOptions(): array
    {
        return [
            'name'       => "system_dict",
            'table'      => "",
            'deleteTime' => "delete_time",
        ];
    }

    public static array $notes = [
    ];

    public function options()
    {
        return $this->hasMany(SystemDictionaryOption::class,'pid');
    }

}